package com.ruoyi.jxgl.service.impl;

import com.ruoyi.jxgl.domain.*;
import com.ruoyi.jxgl.mapper.JxglDvMapper;
import com.ruoyi.jxgl.service.IJxglDvService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 选课Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-11-29
 */
@Service
public class JxglDvServiceImpl implements IJxglDvService
{
    @Autowired
    private JxglDvMapper jxglDvMapper;


    @Override
    public List<JxglDvSummary> selectJxglDvSummaryList() {
        return jxglDvMapper.selectJxglDvSummaryList();
    }

    @Override
    public List<JxglDvSdeptPercent> selectJxglDvSdeptPercentList() {
        return jxglDvMapper.selectJxglDvSdeptPercentList();
    }

    @Override
    public List<JxglDvCtermScNum> selectJxglDvCtermScNumList(Map<String,String> map) {
        return jxglDvMapper.selectJxglDvCtermScNumList(map);
    }

    @Override
    public List<JxglDvGzlTop5> selectJxglDvGzlTop5List(Map<String,String> map) {
        return jxglDvMapper.selectJxglDvGzlTop5List(map);
    }

    @Override
    public List<JxglDvAePercent> selectJxglDvAePercentList(Map<String,String> map) {
        return jxglDvMapper.selectJxglDvAePercentList(map);
    }

    /**
     * 6。查询学期教学信息
     *
     * @return 学期教学信息列表
     */
    @Override
    public List<Map<String,String>> selectJxglDvTheTermInfoList(int theTerm){
        return jxglDvMapper.selectJxglDvTheTermInfoList(theTerm);
    }

    @Override
    public List<JxglDvSpointTop50> selectJxglDvSpointTop50List() {
        return jxglDvMapper.selectJxglDvSpointTop50List();
    }
}
